create or replace trigger trg_task_progress
  before insert on task_progress  
  for each row
declare
  -- local variables here
begin
  SELECT seq_task_progress.nextval into :new.id from duaL;
end trg_task_progress;
/
